package com.lyh.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BaseEntity;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;

/**
 * 进场单量设置对象 sys_area_order
 *
 * @author lyh
 * @date 2023-04-26
 */
@Data
@TableName("sys_area_order")
public class SysAreaOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(example = "主键")
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 区类型 */

    @NotNull(message = "区类型")
    @ApiModelProperty(example = "区类型")
    private String areaType;


    @NotNull(message = "2天场数量")
    @ApiModelProperty(example = "2天场数量")
    private BigDecimal twoNum;

    @NotNull(message = "3天场数量")
    @ApiModelProperty(example = "3天场数量")
    private BigDecimal thirdNum;
    @NotNull(message = "5天场数量")
    @ApiModelProperty(example = "5天场数量")
    private BigDecimal fiveNum;
    @NotNull(message = "7天场数量")
    @ApiModelProperty(example = "7天场数量")
    private BigDecimal sevenNum;


    @NotNull(message = "金额")
    @ApiModelProperty(example = "金额")
    private BigDecimal money;

    @NotNull(message = "是否启用")
    @ApiModelProperty(example = "是否启用")
    private Integer useFlag;


}
